Q. Which method copies a file?

A
fs.copyFile()
B
fs.duplicate()
C
fs.clone()
D
fs.moveFile()
Solution:

fs.copyFile() copies a file in Node.js.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!