implements copy command to any page