elseif ($action == CRM_Core_Action::COPY) {
$this->_pages['CRM_Contact_Form_Search_Custom'] = NULL;
list($task, $result) = $this->taskName($controller, 'Custom');
elseif ($action == CRM_Core_Action::COPY) {
$this->_pages['CRM_Contact_Form_Search_Custom'] = NULL;
list($task, $result) = $this->taskName($controller, 'Custom');