Sure. Both are compatible. The generic act is "sharing", and this act happens to be "copyright infringement" in some cases. I don't see how anybody could say that the sentence "Sharing this file with other people infringes the copyright" uses a misleading language. Somebody may not like the socially positive aspect of the verb "to share", and they will prefer to use morally loaded terms, even if they are incorrect, but nobody can realistically say that using this verb for that act is wrong.