把一个文件夹里的图片放到另一个文件夹里
{
public static void main(String[] args) throws IOException {
//拿到源文件
File srcFile= new File("C:\\img");
String uploadPath = "c:\\upload\\"; //被上传的路径 ,图片输出的位置
File uploadFile = new File