Revert "Tweak tablecopy.lua"

This reverts commit dd6ac59bde9a62ee5dabe6da88e215bee3e957f6.