title: How to remove item from ArrayList in Kotlin
body: <pre><code>var arrayone: ArrayList&lt;String&gt; = arrayListOf("a","b","c")
  
  val arraytwo:ArrayList&lt;String&gt; = arrayListOf(arrayone.removeAt(0))
  
  for (item in arraytwo) {
    println(item)
  }
  </code></pre>
  
  <p>I just want to remove item from the first array and make a new array.  But this just prints one item at index 0</p>