Avoid calling copyArray on NativeArrays.