copyInto
Copies this array or its subrange into the destination array and returns that array.
It's allowed to pass the same array in the destination and even specify the subrange so that it overlaps with the destination range.
Since Kotlin
1.3Return
the destination array.
Parameters
the array to copy to.
the position in the destination array to copy to, 0 by default.
the beginning (inclusive) of the subrange to copy, 0 by default.
the end (exclusive) of the subrange to copy, size of this array by default.
Throws
when the subrange doesn't fit into the destination array starting at the specified destinationOffset, or when that index is out of the destination array indices range.
Copies this array or its subrange into the destination array and returns that array.
It's allowed to pass the same array in the destination and even specify the subrange so that it overlaps with the destination range.
Since Kotlin
1.3Return
the destination array.
Parameters
the array to copy to.
the position in the destination array to copy to, 0 by default.
the beginning (inclusive) of the subrange to copy, 0 by default.
the end (exclusive) of the subrange to copy, size of this array by default.
Throws
when the subrange doesn't fit into the destination array starting at the specified destinationOffset, or when that index is out of the destination array indices range.
Copies this array or its subrange into the destination array and returns that array.
It's allowed to pass the same array in the destination and even specify the subrange so that it overlaps with the destination range.
Since Kotlin
1.3Return
the destination array.
Parameters
the array to copy to.
the position in the destination array to copy to, 0 by default.
the beginning (inclusive) of the subrange to copy, 0 by default.
the end (exclusive) of the subrange to copy, size of this array by default.
Throws
when the subrange doesn't fit into the destination array starting at the specified destinationOffset, or when that index is out of the destination array indices range.
Copies this array or its subrange into the destination array and returns that array.
It's allowed to pass the same array in the destination and even specify the subrange so that it overlaps with the destination range.
Since Kotlin
1.3Return
the destination array.
Parameters
the array to copy to.
the position in the destination array to copy to, 0 by default.
the beginning (inclusive) of the subrange to copy, 0 by default.
the end (exclusive) of the subrange to copy, size of this array by default.
Throws
when the subrange doesn't fit into the destination array starting at the specified destinationOffset, or when that index is out of the destination array indices range.