appendInNewArray

fun <T> appendInNewArray(first: Array<T>, vararg rest: T): Array<T>

Appends objects to an array in a new array.

Return

An new array with the all the objects.

Parameters

first

Object array.

rest

Objects to append.