API17:JStream::copy
From Joomla! Documentation
JStream::copy
Description
Copy a file from src to dest.
Template:Description:JStream::copy [Edit Descripton]
Since
Synopsis
public JStream->copy ($src, $dest, $context=null, $use_prefix=true, $relative=false)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $src | string | ||
| $dest | string | ||
| $context | $context | null | |
| $use_prefix | boolean | true | $user_prefix |
| $relative | boolean | false | $relative |
Returns
mixed
Defined in
libraries/joomla/filesystem/stream.php
Referenced by
See also
Template:SeeAlso:JStream::copy
Examples
<CodeExamplesForm />