Added a copy function to copy the contents to xclip