Dir::copy()
Copy the directory to a new destination
Dir::copy(string $dir, string $target, bool $recursive = true, array $ignore = [ ]): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $dir * | string |
– |
| $target * | string |
– |
| $recursive | bool |
true |
| $ignore | array |
[ ] |
Return type
bool