Remove explicit calling memcpy/memmove