rename method copyValue to copy