Of course, they can still capture the screen as a graphic image with the Print Screen key, or a digital camera, turn off Javascript in the browser, use File, Save, or view the source code. However, this script may slow down some unsophisticated copiers.
I got this script from http://www.bucks.edu/distance/info/faculty/docs/QuizPrintingPrevention.pdf