Converts the reference-counted array to a slice, transferring ownership and invalidating the original.
Converts the reference-counted array to a slice, transferring ownership and invalidating the original.