docs: static void copyFromWarToFolder(VirtualFile virtualFileOrFolder, File targetFolder) throws IOException {
          if (virtualFileOrFolder.isDirectory() && !virtualFileOrFolder.getName().contains(".")) {
              if (targetFolder.getName().equalsIgnoreCase(virtualFileOrFolder.getName())) {
                  for (VirtualFile innerFileOrFolder : virtualFileOrFolder.getChildren()) {
                      copyFromWarToFolder(innerFileOrFolder, targetFolder);
                  }
              } else {
                  File innerTargetFolder = new File(targetFolder, virtualFileOrFolder.getName());
                  innerTargetFolder.mkdir();
                  for (VirtualFile innerFileOrFolder : virtualFileOrFolder.getChildren()) {
                      copyFromWarToFolder(innerFileOrFolder, innerTargetFolder);
                  }
              }
          } else {
              File targetFile = new File(targetFolder, virtualFileOrFolder.getName());
              if (!targetFile.exists() || targetFile.length() != virtualFileOrFolder.getSize()) {
                  FileUtils.copyURLToFile(virtualFileOrFolder.asFileURL(), targetFile);
              }
          }
      }