code: public static void copyAssets(Context context, String assetsFilename, File file, String mode)
  		throws IOException, InterruptedException {
  		AssetManager manager = context.getAssets();
  		final InputStream is = manager.open(assetsFilename);
  		copyFile(file, is, mode);
  	}
docs: copy file in assets into destination file
  
  @param context        context
  @param assetsFilename file name in assets
  @param file           the file to copy to
  @param mode           mode of file
  @throws IOException
  @throws InterruptedException