parser: add support for copy to