copyOfSubArray
Copies the specified range of the given array into a new sub array.
Parameters
array
the input array
from
the initial index of range to be copied (inclusive)
to
the final index of range to be copied (exclusive)
Copies the specified range of the given array into a new sub array.
the input array
the initial index of range to be copied (inclusive)
the final index of range to be copied (exclusive)