copyOf

abstract fun copyOf(): ImmutableMemoryView<T>

Returns a new instance with a copied primitive array.