Cleanup copy.js, remove unused import, etc..

Make easier to read and debug..
Merge pull request #5187 from knownasilya/copy-cleanup

Cleanup copy.js, remove unused import, etc..