When recopying, failed to delete files properly