Batch Number Expiration Stock Transfer

Is there right way how we transfer expired batch number since i can’t transfer the items since already expired. So what i do is, I will extend the shelf-life for 1 day so I can transfer it to another warehouse. Is there a better way or your opinion how you do it. How do you deal with this situation?