Fixed some coding style, docblocks and prefix handling in Copy.