JSREF

JavaScript Array copyWithin()

Copy the first two array elements to the last two array elements: