compiler: add a native implementation of NativeArray::memmove