Javascript File copyTo

From FreeSWITCH Wiki
Jump to: navigation, search

Contents

Description

Copy a file to a new file

Synopsis

copyTo(dest)
  • dest - destination file to write current file to

Example

var fd = new File("/tmp/blah");
fd.copyTo("/tmp/moo");

See Also