question: public static void copyAssets ( Context context , String assetsFilename , File file , String mode ) throws IOException , InterruptedException { String abi = Build . CPU_ABI ; String libraryName ; if ( abi . equalsIgnoreCase ( "armeabi" ) ) { libraryName = "armeabi" ; } else if ( abi . equalsIgnoreCase ( "x86" ) ) { libraryName = "x86" ; } else if ( abi . contains ( "armeabi-v7" ) ) { libraryName = "armeabi-v7a" ; } else { return ; } AssetManager manager = context . getAssets ( ) ; final InputStream is = manager . open ( libraryName + "/" + assetsFilename ) ; copyFile ( file , is , mode ) ; }
target:  copy file in assets into destination file