World War 2 Guns - Copyright infringement Questions

In the marketplace are real weapons like the M4A1 and from what i know the game companies pay for that in their games (modern and world war 2).
You can do a weapon 95% equal to the real but with another name.