You can create an array with the help of arrayOf()
You can access an element with the help of  and get() and the element index, starting from 0
You can change the value of an element with the help of  and set() and the element index.
You can also create an array with intArrayOf, charArrayOf, floatArrayOf and so on.
You can read more here.