how to perform memcpy in __device__ function

is there any way to perform memcpy-like in device function?

of just “=”?

no memcpy. just “=”. you can “for…=”.