copy text to the clipboard using a button