Fixed bug in Copy