title: How can I convert String[] to ArrayList<String>
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3746639/assigning-an-array-to-an-arraylist-in-java">Assigning an array to an ArrayList in Java</a>  </p>
  </blockquote>
  
  
  
  <p>I need to convert a <code>String[]</code> to an <code>ArrayList&lt;String&gt;</code> and I don't know how</p>
  
  <pre><code>File dir = new File(Environment.getExternalStorageDirectory() + "/dir/");
  String[] filesOrig = dir.list();
  </code></pre>
  
  <p>Basically I would like to  transform <code>filesOrig</code> into an <code>ArrayList</code>.</p>