Update copy_to.js

set filetamp correctly