🎉 If you are still on v2, we offer attractive prices for all owners of a Kirby 2 license to upgrade to v3.
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