move and modify parc_memcpy