JFile::copy
Copies a file
Signature
public function copy(string
$src,
[string
$dest = null,
[string
$path = null,
[boolean
$use_streams = false]]] )
Parameters
-
$src
- The path to the source file
-
$dest
- The path to the destination file
-
$path
- An optional base path to prefix to the file names
-
$use_streams
- True to use streams
Returns
- boolean
- True on success