I am trying to copy the contents of the source table to the dest table, overwriting keys that are the same and leaving different keys intact. I've messed about with a few things but can't figure it out. Can somebody help me?
local source = {
version = 1,
nest = {
a = 5,
b = 1,
c = 0
},
}
local dest = {
version = 0,
doesNotChange = 9,
nest = {
a = 0,
b = 0,
c = 0,
d = "does not change"
},
}