handle copy error;