function copyProjectToDist() {
  console.log("Copying project to dist directory");

  fs.rmSync("dist", { force: true, recursive: true });
  fs.mkdirSync(path.join("dist", "webdriver-ts"), { recursive: true });

  fs.copyFileSync(path.join("webdriver-ts", "table.html"), path.join("dist", "webdriver-ts", "table.html"));
  fs.copyFileSync("index.html", path.join("dist", "index.html"));

  processDirectories();
}
Creates a dist directory, copies `table.html` from `webdriver-ts` and `index.html` into it,
and then starts copying the project folders recursively using `processDirectories()`.