title: extract data from csv file and put to 2D Array - refactoring
body: <p>I need read data from csv file and much more convinience for me is put there to 2D array (to my mind it's easiest way to work with this "schedule" data).
  Each file line contained information in following format:</p>
  
  <p><code>Instructor, Course, Group, Student, Result</code></p>
  
  <p>as follows example:</p>
  
  <pre><code>Paul Schwartz,Introduction to Computer Architecture,I1,Ben Dunkin,88
  Muhamed Olji,Object Oriented Programming,I4,Mike Brown,73
  </code></pre>
  
  <p>But my code needs some simplify. But I don't know how to make it easier and ask of <strong><em>You</em></strong>.</p>
  
  <p><strong>Code:</strong></p>
  
  <pre><code>private String[][] fileContent(String pathToCSVFile) {
      final int ROWS = 100;
      final int COLUMNS = 5;
      String fileData[][] = new String[ROWS][COLUMNS];
      Scanner scanner = new Scanner(pathToCSVFile);
      boolean done = false;
      int i, j;
  
      while (!done) {
          for (i = 0; i &gt;= 0; i++) {
             for (j = 0; j &gt;= 0; j++) {
                 String str[] = scanner.nextLine().split(","); 
                 for (int element = 0; element &lt; str.length; element++) {
                     fileData[i][element] = str[element];
                     if (i &gt;= ROWS) {
                         Arrays.copyOf(fileData, fileData.length * 2);
                     }
                 }                   
             }
          }
  
          if (!scanner.hasNextLine()) done = true;
      }
  
      return  fileData;
  }
  </code></pre>
  
  <ul>
  <li>How to refactor this snippet of code for better simplicity? </li>
  <li>Does exist any better way for partially filled array (than <code>Arrays.copyOf(fileData, fileData.length * 2)</code>)?</li>
  </ul>