Select All

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