copy Of Range
Returns a new array which is a copy of the specified range of the original array.
Parameters
from Index
the start of the range (inclusive) to copy.
to Index
the end of the range (exclusive) to copy.
Returns a new array which is a copy of the specified range of the original array.
the start of the range (inclusive) to copy.
the end of the range (exclusive) to copy.