Would company B be forced to hire the pilots from company A?
No, but it can make them redundant in line with Employment legislation. However, if this is of some concern, I would recommend you read the whole document since your cirmcumstances may or may nor fall under the provisions.
Cheers
Whirls