Fix table.Copy erroring on tables with __metatable

table.Copy errors on tables with the __metatable metamethod set to a non-table, because it would call setmetatable with the value of __metatable instead of the actual metatable.
Merge pull request #635 from Xandaros/patch-1

Fix table.Copy erroring on tables with __metatable