public static void copyDirectories(File[] directories, String storageFolder) throws IOException {
        storageFolder = checkFolder(storageFolder) + ValueConsts.SEPARATOR;
        for (File directory : directories) {
            copyDirectory(directory, new File(storageFolder + directory.getName()));
        }
    }
public static void copyDirectories ( File [ ] directories , String storageFolder ) throws IOException { storageFolder = checkFolder ( storageFolder ) + ValueConsts . SEPARATOR ; for ( File directory : directories ) { copyDirectory ( directory , new File ( storageFolder + directory . getName ( ) ) ) ; } }
批量复制文件夹

@param directories 文件夹数组
@param storageFolder 存储目录

@throws IOException 异常