depending only on one function for copy