title: Convert Kotlin Array to Java varargs
body: <p>How can I convert my Kotlin <code>Array</code> to a varargs Java <code>String[]</code>?</p>
  
  <pre><code>val angularRoutings = 
      arrayOf&lt;String&gt;("/language", "/home")
  
  // this doesn't work        
  web.ignoring().antMatchers(angularRoutings)
  </code></pre>
  
  <p><a href="https://stackoverflow.com/questions/9863742/how-to-pass-an-arraylist-to-a-varargs-method-parameter">How to pass an ArrayList to a varargs method parameter?</a></p>