Open topic with navigation

# copy

The `copy` method returns a copy of the array. Modifying the copy does not modify the original array.

## Syntax

    copy()

## Returns

(LuaJsonArray). A copy of the array.

## Example

    local myJsonArray = LuaJsonArray:new(4,"a string",true)
    local anotherJsonArray = myJsonArray:copy()
    print (anotherJsonArray:string())
    -- [4, "a string", true]

© Copyright 2018 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm