copy current buffer to clipboard