Regular API function

sim.copyTable

Description Duplicates a table, i.e. makes a deep copy. See also the other packing/unpacking related functions.
C/C++
synopsis
C/C++
parameters
C/C++
return value
Lua
synopsis
any[]/map copy=sim.copyTable(any[]/map original)
Lua
parameters
original: the original table
Lua
return values
copy: the duplicated table
Python
synopsis
list/bytes copy=sim.copyTable(list/bytes original)