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