Copy file to another location. .
App::Utility()->copy(src,desc)
Parameter |
Description |
---|---|
src |
Source file path |
des |
Definition file path |
See bellow example:
App::Utility()->copy(
App::Config()->fileManagerDir('/logo.jpg'),
App::Config()->baseDir('/images/logo.jpg')
);