itemIds[i] = id;
itemIds[i++] = id;
    public void redo() throws Exception {        int mboxId = getMailboxId();        Mailbox mbox = Mailbox.getMailboxById(mboxId);        int i = 0, itemIds[] = new int[mDestIds.size()];        for (int id : mDestIds.keySet())            itemIds[i] = id;        try {            mbox.imapCopy(getOperationContext(), itemIds, mType, mDestFolderId);        } catch (MailServiceException e) {            if (e.getCode() == MailServiceException.ALREADY_EXISTS) {                mLog.info("Item is already in mailbox " + mboxId);                return;            } else                throw e;        }    }