Automatically copy text content to the clipboard and paste