Select All
Select the whole function in the function editor. Subsequently, you can for instance copy the selection to the clipboard. You can also use the Ctrl+A keys on the keyboard.