Copy a resource. Note that the attached file(s) are not copied - this is a metadata and property copy only.

Param1 $from The ID of the resource to copy.
Param2 $resource_type The ID of the resource type for the new resource.

Return values

The ID of the newly created resource, or false if the operation failed.