copyOfRange

external fun <T> Array<T>.copyOfRange(fromIndex: Int, toIndex: Int): Array<T>(source)