Fixed an error in copy.