documentation for copy