public function EECopy($sourceListName, $newlistName = null, $createEmptyList = null, $allowUnsubscribe = null, $rule = null) {
        return $this->sendRequest('list/copy', array(
                    'sourceListName' => $sourceListName,
                    'newlistName' => $newlistName,
                    'createEmptyList' => $createEmptyList,
                    'allowUnsubscribe' => $allowUnsubscribe,
                    'rule' => $rule
        ));
    }
public function EECopy($sourceListName, $newlistName = null, $createEmptyList = null, $allowUnsubscribe = null, $rule = null) {
        return $this->sendRequest('list/copy', array(
                    'sourceListName' => $sourceListName,
                    'newlistName' => $newlistName,
                    'createEmptyList' => $createEmptyList,
                    'allowUnsubscribe' => $allowUnsubscribe,
                    'rule' => $rule
        ));
    }
public function EECopy ( $ sourceListName , $ newlistName = null , $ createEmptyList = null , $ allowUnsubscribe = null , $ rule = null ) { return $ this -> sendRequest ( 'list/copy' , array ( 'sourceListName' => $ sourceListName , 'newlistName' => $ newlistName , 'createEmptyList' => $ createEmptyList , 'allowUnsubscribe' => $ allowUnsubscribe , 'rule' => $ rule ) ) ; }
Copy your existing List with the option to provide new settings to it. Some fields, when left empty, default to the source list's settings
@param string $apikey ApiKey that gives you access to our SMTP and HTTP API's.
@param string $sourceListName The name of the list you want to copy
@param string $newlistName Name of your list if you want to change it.
@param ?bool $createEmptyList True to create an empty list, otherwise false. Ignores rule and emails parameters if provided.
@param ?bool $allowUnsubscribe True: Allow unsubscribing from this list. Otherwise, false
@param string $rule Query used for filtering.
@return int
Copy your existing List with the option to provide new settings to it . Some fields when left empty default to the source list s settings