add copy and paste
Merge pull request #1387 from cldwalker/add-copy-and-paste

add platform-friendly copy and paste