title: Copying cursor data into arraylist
body: <p>I have a query which populates the cursor from the database tables rules, in android sqlite.
  when I use the <code>getcount</code> on my cursor it shows me 24 which means there are 24 rows in the cursor. what I want is that all the data within cursor should be copied to multidimensional array or arraylist or in other words a copy of the database table into array list.</p>
  
  <pre><code>c = obj_db.rawQuery("select * from rules", null);
  int count=c.getCount();
  String x= String.valueOf(count);
  </code></pre>
  
  <p>I want the replica of data as in table in array list in short</p>