aboutsummaryrefslogtreecommitdiff
path: root/bench/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'bench/snippets')
-rw-r--r--bench/snippets/copyfile.mjs3
1 files changed, 3 insertions, 0 deletions
diff --git a/bench/snippets/copyfile.mjs b/bench/snippets/copyfile.mjs
new file mode 100644
index 000000000..9db9faefe
--- /dev/null
+++ b/bench/snippets/copyfile.mjs
@@ -0,0 +1,3 @@
+import { copyFileSync } from "node:fs";
+const arg = process.argv.slice(2);
+copyFileSync(arg[0], arg[1]);