What do you do if you like a girl who has a boyfriend?

Probably not the answer you want to hear but - leave them alone ! As you said, she's already in a relationship, and it's not your place to interfere.