copyWithin
const arr = new Int32Array([1, 2, 3, 4, 5]); arr.copyWithin(0, 3); // [4, 5, 3, 4, 5]
copyWithin() copies elements within the array without changing its length.
Use copyWithin() to copy a sequence of elements within the array.