Copy text contents from file to clipboard

This script command looks quite useful: