dir::copy

Copy a file, or recursively copy a folder and its contents

dir::copy($dir, $to)

Parameters

$dir (string)
Source path
$to (string)
Destination path

Return values