title: Android copyFile SDcard
body: <p>I have successfully imported the library "com.ipaulpro.afilechooser.utils.FileUtils" to export and import the database on the SD card. But in class I get error on line:<code>FileUtils.copyFile(internalDB, externalDB);</code></p>
  
  <pre><code>File internalDB = new File("/data/data/"+getPackageName()+"/databases/MyDatabase.db");
              File externalDB = new File(Environment.getExternalStorageDirectory(), getPackageName()+"/database/MyDatabase.db");
  
                      try {
                          FileUtils.copyFile(internalDB, externalDB);
                          Toast toast = Toast.makeText(getApplicationContext(),(R.string.Toast_export), Toast.LENGTH_SHORT);
                          //toast.setGravity(Gravity.TOP|Gravity.LEFT, 0, 0);
                          toast.show();
  
                      } catch (IOException e) {
                          e.printStackTrace();
                          Toast toast = Toast.makeText(getApplicationContext(),(R.string.Toast_export_errore), Toast.LENGTH_SHORT);
                          toast.show();
                              }
  </code></pre>