CodeHS Pro allows teachers to prevent students from copying and pasting in the code editor. Preventing copying and pasting can be turned on for an entire section or configured per student. When Copy/Paste Prevention is enabled, students enrolled in the section can no longer Copy, Paste, or Cut to and from the Editor.
To prevent copying and pasting for your section go to your section. Click on Course Setting from there click on Copy/Paste Prevention. You can then turn on copy/paste prevention for all sections or a specific section. You can enable copy/paste for an entire module, lesson or activity.
To prevent copying and pasting for specific students go to your section and click on assignments. From there click on the module, lesson and activity. Next to the activity you want to prevent copying and pasting for click edit. Scroll to the bottom of the page and click on the section under Configure per Student. From there you can enable copy/paste prevention for specific students.