copyFile = async (rootDir, rootTargetDir, page) => {
	await fs.mkdir(rootTargetDir, { recursive: true });
	const { relativePath } = await getTargets(rootDir, rootTargetDir, page);
	const p = path.parse(path.join(rootTargetDir, relativePath));
	const from = path.join(page.path, page.name);
	let to = path.join(p.dir, page.name);
	await fs.cp(from, to);
	console.debug(chalk.dim(`Copied ${from} -> ${to}`));
}
@param {string} rootDir
@param {string} rootTargetDir
@param {import("fs").Dirent} page