while the editor is focused you can copy the code with
Cmd + A + C (or
Ctrl + A + C on Windows) and paste it into another editor in another scene with
Cmd + V (or
Ctrl + V on Windows). You don’t get a visual feedback when copying the code but it works.