Use TypedArray::set in unchecked_*_arraycopy instead of for loop