If the passed arr is of type Uint8Array<ArrayBuffer>, it is returned unchanged, otherwise a new Uint8Array<ArrayBuffer> is created with the data being a copy of the data in the passed arr.
arr
Uint8Array<ArrayBuffer>
If the passed
arris of typeUint8Array<ArrayBuffer>, it is returned unchanged, otherwise a newUint8Array<ArrayBuffer>is created with the data being a copy of the data in the passedarr.