Now extending autogen copy_from and copy_to