script: copy file to clipboard