copying lines of selected text to the clipboard