Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/node/fs.ts>copyFileSync

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function copyFileSync
Re-export
import { copyFileSync } from "https://deno.land/std@0.97.0/node/fs.ts";

Parameters

source: string | URL
destination: string