``` /** * Returns new array which is a copy of th...
# announcements
u
Copy code
/**
 * Returns new array which is a copy of the original array.
 */
@kotlin.jvm.JvmVersion
@kotlin.internal.InlineOnly
public inline fun <T> Array<T>.copyOf(newSize: Int): Array<T?> {
    return Arrays.copyOf(this, newSize)
}