toArray

open fun <T> toArray(collection: Collection<T>): Array<T>