Kirby 2 Docs
❌ Kirby 2 has reached its end of life. Migrate to a current version and
upgrade your v2 license now
.
dir::copy($dir, $to)
Copy a file, or recursively copy a folder and its contents
$dir
(string)
Source path
$to
(string)
Destination path
↑
Toolkit API overview
←
dir::clean
→
dir::make
↓
Back to Toolkit API section
Top