title: Android Sqlite transfer table from one database to another
body: <p>I've a requirement in my android app. </p>
  
  <p>There is an already existing database A which has a table T. From the next release of the app, I want to create a new database B and <strong>MOVE</strong> my table from A to B <strong>WITH</strong> all the existing data.</p>
  
  <p>I am guessing there'd be some way to take dump from the existing db and store that in an asset file. And then use that file to restore the table in new db.</p>
  
  <p>Can't store that data in-memory as it might go to inconsistent state if the app is killed in between.</p>
  
  <p>I am not able to find any well-defined way to do this after spending some time searching in the docs/on the forums.</p>
  
  <p>Please help.</p>