[Overview][Types][Classes][Procedures and functions] | Reference for unit 'pLua' (#pLua)

# plua_CopyTable

## Declaration

Source position: plua.pas line 44

`procedure plua_CopyTable(`
`L: Plua_State;`
`IdxFrom: Integer;`
`IdxTo: Integer`
`);`

## Arguments

`L` |  | PLua_State to work with.
`IdxFrom` |  | Source table index.
`IdxTo` |  | Destination table index.

## Description

Performs a deep copy of the table at IdxFrom and all its sub-tables into the table at IdxTo.