simplify copy_hash / copy_array

the second parameter for copy_hash was only used in one place, so
isolate it there.  The second parameter for copy_array was never used,
so delete it.
Merge pull request #724 from tenderlove/copy_helper

simplify copy_hash / copy_array