Avoid calling copyArray on NativeArrays.
Merge pull request #100 from pjonsson/bugfixes

Avoid calling copyArray on NativeArrays.