Gas piston design is better, so 416.
Gas piston design is different. Whether it is better or not depends on what you need from the rifle.
As for whether the HK 416 is better than the Colt M4 for general use, I'd say that the number of people who can give an informed opinion on that subject is pretty small.