class Net::IMAP::CopyUIDData

def size

source_uids and the assigned_uids will both the same number of UIDs.
Returns the number of messages that have been copied or moved.
def size
  assigned_uids.count_with_duplicates
end