Don't copy the typed array data if unnecessary
Merge pull request #256 from marco-c/dont_copy_data

Don't copy the typed array data if unnecessary