# nats\_build\_array\_by\_reference

*Article Topics:* [*Smarty*](https://docs.toomuchmedia.com/getting-started/common-topics/smarty)*,* [*Customization*](https://docs.toomuchmedia.com/getting-started/common-topics/customization)

## Parameters

(*Required parameters in **bold**)*

| Parameter  | Description                | Possible Values                  | Default Value | Example                 |
| ---------- | -------------------------- | -------------------------------- | ------------- | ----------------------- |
| **array**  | **The array to duplicate** | **Any initialized Smarty array** | **None.**     | **array="old\_array"**  |
| **assign** | **The array to create**    | **Any valid Smarty array name**  | **None.**     | **assign="new\_array"** |

## Output

No output. Values of the old array stored in the new array.

## Notes

None.
