Fixed problem in the copy command.