function copyFile (oldName, newName) {
    let contents = fs.readFileSync (oldName, 'utf8')
    fs.truncateSync (newName)
    fs.writeFileSync (newName, contents)
}
function copyFile (oldName, newName) {
    let contents = fs.readFileSync (oldName, 'utf8')
    fs.truncateSync (newName)
    fs.writeFileSync (newName, contents)
}
function copyFile ( oldName , newName ) { let contents = fs . readFileSync ( oldName , 'utf8' ) fs . truncateSync ( newName ) fs . writeFileSync ( newName , contents ) }
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
Copy a file from another file to another file