method

copy

Importance_2
v1_8_6_287 - Show latest stable - 1 note - Class: File
copy(from, to, verbose = false) public

Copies a file from to to using #syscopy. If to is a directory, copies from to to/from. If verbose is true, from -> to is printed.

Show source
Register or log in to add new notes.
March 3, 2010
3 thanks

Deprecated in 1.9.x!

Use FileUtils::copy instead. It is also in 1.8.x, FileUtils, so call that one instead.