getArray

fun getArray(index: Int, out: IntArray, offset: Int = 0, size: Int = out.size - offset): IntArray
fun getArray(index: Int = 0, size: Int = this.size - index): IntArray