Skip to content

Kirby 4.4.1

F::copy()

Copy a file to a new location.

F::copy(string $source, string $target, bool $force = false): bool

Parameters

Name Type Default
$source * string
$target * string
$force bool false

Return type

bool

Parent class

Kirby\Filesystem\F