Either:
$copy = $original;
function array_copy(array $a) { return $a; }
The only potential issue is if the array contains references deeper in.
Either:
Or, if you must have a function, Arrays use the normal copy-on-write semantics of PHP. They are not passed by reference or object handle...The only potential issue is if the array contains references deeper in.