bug: Fix copyTo
Merge pull request #10 from martflu/copy-fix

bug: Fix copyTo