public class FileUtil {
public static void copy(File src , File dest){
//1、建立关联
//2、选择流
InputStream is = null;
OutputStream os =null;
try {
is = new FileInputStream(src.getAbsolutePath());
os = new FileOutputStream(dest.getAbsolutePath());
//3、选择运输的数组
byte[] data = new byte[1024];
int len = 0;