--- layout: default menu_item: api title: Strarray description: Version 0.26.1 menu_item: api return_to: "API Documentation Index": /api/ sections: "#copy": "#copy" "Instance Variables": "#ivars" --- ## Strarray#copy SyncExperimental ```js var result = strarray.copy(src); ``` | Parameters | Type | | --- | --- | --- | | src | [Strarray](/api/strarray/) | source | | Returns | | | --- | --- | | Number | 0 on success, < 0 on allocation failure | ## Instance Variables | Variable | Type | Description | | --- | --- | --- | | count | Number | | | strings | String | |