src/Imap.php
public function copy($uid, $mailbox)
    {
        Argument::i()->test(1, 'int', 'string')->test(2, 'string');

        if (!$this->socket) {
            $this->connect();
        }

        $this->call('UID COPY '.$uid.' '.$mailbox);

        return $this->remove($uid);
    }
public function copy($uid, $mailbox)
    {
        Argument::i()->test(1, 'int', 'string')->test(2, 'string');

        if (!$this->socket) {
            $this->connect();
        }

        $this->call('UID COPY '.$uid.' '.$mailbox);

        return $this->remove($uid);
    }
public function copy ( $ uid , $ mailbox ) { Argument :: i ( ) -> test ( 1 , 'int' , 'string' ) -> test ( 2 , 'string' ) ; if ( ! $ this -> socket ) { $ this -> connect ( ) ; } $ this -> call ( 'UID COPY ' . $ uid . ' ' . $ mailbox ) ; return $ this -> remove ( $ uid ) ; }
Copy an email to another mailbox

@param *number $uid     The mail unique ID
@param *string $mailbox The mailbox destination

@return Eden\Mail\Imap
Copy an email to another mailbox