--- title: "copy (Copy objects)" slug: "calc-function-copy" updated: 2026-05-12T09:57:55Z published: 2026-05-12T09:57:55Z canonical: "docs.lobstersoftware.com/calc-function-copy" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # copy (Copy objects) > [!NOTE] > $copy is used to copy the transferred object. If the copy algorithm encounters an error, *null* is returned. The error is written into the browser console. > > > [!TIP] > > Tooltip > > > > Syntax: *$copy(value)* > > > > | Parameter | Description | > > | --- | --- | > > | `value` | The object to be copied. | > > > > The copy of the transferred object or *null*, in case of any error. ## Syntax *$copy(value)* ## Parameter | Name | Description | | --- | --- | | value | The object to be copied. | ## Return value The copy of the transferred object or *null*, in case of any error. ## Example | Syntax | Result | | --- | --- | | $copy($input) | Returns the copy of the input object. |