public void fileCopy(String filePath,String savePath){
try{
FileInputStream in = new FileInputStream(filePath);
FileOutputStream out = new FileOutputStream(savePath);
byte[] bt = new byte[1024];
int count;
while ((count = in.read(bt)) > 0) {
out.write(bt, 0, count);
}
in.close();
out.close();
}catch(IOException e){
e.printStackTrace();
}
}

被折叠的 条评论
为什么被折叠?



