Fixing notice when doing batch copy and language change

Fixes #5312 

This PR updates the $contexts array when items are copied and at the same time, the language of the new copy is changed. This assumes that the context of each item is the same... I'm not sure that is always the case and thus someone else has to review this.

Thanks for the bug report @infograf768 
Could you provide test instructions?