I'm not sure what the difference between an IntArray and an Array<Int> is in Kotlin and why I can't used them interchangeably:
I know that IntArray translates to int[] when targeting the JVM, but what does Array<Int> translate to?
Also, you can also have String[] or YourObject[]. Why Kotlin has classes of the type {primitive}Array when pretty much anything can be arranged into an array, not only primitives.
