Is there any easy way for copying an array of hashes? My understanding is that @array2 = @array1 (where @array1 is an array of hashes) won't make a new copy because it just copies the refrences into @array2. I'd like to know if there's an easier way of making a copy of @array1 than looping through it and copying each element.