copyOfRange  
  Returns a new array which is a copy of the specified range of the original array.
Since Kotlin
1.0Parameters
fromIndex 
the start of the range (inclusive) to copy.
toIndex 
the end of the range (exclusive) to copy.
Throws
Returns a new array which is a copy of the specified range of the original array.
Since Kotlin
1.1Parameters
fromIndex 
the start of the range (inclusive) to copy.
toIndex 
the end of the range (exclusive) to copy.
Throws
Returns a new array which is a copy of the specified range of the original array.
Since Kotlin
1.0Parameters
fromIndex 
the start of the range (inclusive) to copy.
toIndex 
the end of the range (exclusive) to copy.