object Test extends App { val ints: Array[Int] = Array(1, 2, 3) ints.toArray }