File source=new File("C:\test.txt");
File target=new File("D:\test.txt");
source.renameto(target);
这样实现文件的移动;