Added check for copy_failures