Press Ctrl + A (PC) or ⌘ Cmd + A (Mac). This highlights all of the code on the page. Press Ctrl + C (PC) or ⌘ Cmd + C (Mac). Now the selected source code is pasted to your clipboard.