actually increment the progress counter for copy_file