table.Merge
Example
"Merges" the content of the second table with the first one, overwriting any matching key/value pairs in the destination with the source's version and prints the resulting merge.
local destination = {[1] = "A", [2] = "Golden", [3] = "Apple"}
local source = {[1] = "Two", [2] = "Orange"}
table.Merge( destination, source )
PrintTable( destination )
Output:
1 = Two
2 = Orange
3 = Apple