Tweak tablecopy.lua

- Refactor
- Don't copy keys