API docs     >     Files     >     File

File->copyFrom

Description

copyFrom ( $sourceObject )

Reimplemented from

Versionable
Copies Properties, Extensions, Permissions, Views, Tags from another File into this File

Parameters

$sourceObject
object
Source File object

Returns

bool
TRUE on success or FALSE in case of an error