title: From Arraylist to Array
body: <p>I want to know if it is safe/advisable to convert from ArrayList to Array?
  I have a text file with each line a string:</p>
  
  <pre><code>1236
  1233
  4566
  4568
  ....
  </code></pre>
  
  <p>I want to read them into array list and then i convert it to Array. Is it advisable/legal to do that?</p>
  
  <p>thanks</p>