Select the full mug in your inventory, then use it on one of the empty ones. The contents transfer, and you're left holding whichever mug you actually needed.