Assigns the specified range of elements to the array object.
After the array object is cleared, the function assigns the specified range of elements from another array object.