Skip to main content
Module

std/node/_fs/_fs_copy.ts>copyFile

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function copyFile
import { copyFile } from "https://deno.land/std@0.140.0/node/_fs/_fs_copy.ts";

Parameters

src: string | Buffer | URL
dest: string | Buffer | URL

Parameters

src: string | Buffer | URL
dest: string | Buffer | URL
mode: number

Parameters

src: string | Buffer | URL
dest: string | Buffer | URL
mode: number | CallbackWithError
optional
callback: CallbackWithError