Fixing bad call to copy().