To copy a file's contents to the system clipboard
cat <name and path to file> | pbcopy
To paste the clipboard contents to a file:
pbpaste >> <name and path to file>
To copy a file's contents to the system clipboard
To paste the clipboard contents to a file: