Just incase you missed it ... CopyTable is a global function since quite some time now
Lua Code:
function CopyTable(settings)
local copy = {};
for k, v in pairs(settings) do
if ( type(v) == "table" ) then
copy[k] = CopyTable(v);
else
copy[k] = v;
end
end
return copy;
end
http://wowprogramming.com/utils/xmlb...L/UIParent.lua