title: Is there a function to make a copy of a PHP array to another?
body: <p>Is there a function to make a copy of a PHP array to another?</p>
  
  <p>I have been burned a few times trying to copy PHP arrays. I want to copy an array defined inside an object to a global outside it.</p>