Fix "no_log=True" option for copy module (fixes #7193)