Revision Difference
table.Copy#546802
<function name="Copy" parent="table" type="libraryfunc">
	<description>
Creates a deep copy and returns that copy.
<warning>This function does NOT copy userdata, such as <page>Vector</page>s and <page>Angle</page>s!</warning>
	</description>
	<realm>Shared and Menu</realm>
	<file line="24">lua/includes/extensions/table.lua</file>
	<file line="18-L43">lua/includes/extensions/table.lua</file>
	<args>
		<arg name="originalTable" type="table">The table to be copied.</arg>
	</args>
	<rets>
		<ret name="" type="table">A deep copy of the original table</ret>
	</rets>
</function>
<example>
	<description>Creates a deep copy of table A</description>
	<code>B = table.Copy(A)</code>
</example>
			Garry's Mod 
		
			Rust 
		
			Steamworks 
		
			Wiki Help