It is illegal because he is talking about using a pirated game to play with anothers real game. That is unless it is a back-up, but even then his friend would be using the original copy. So this is a pirate-pirate situation.