(In theory, the reason EULAs work is because when you run the program, you are copying it from disk to RAM. This is why they are believed to be very shaky, as copyright law does not specifically consider copying from disk to RAM inside a black box to be "copying".
The GPL is on firmer ground, because it covers copying for distribution to other people. That is a situation that copyright law is specific about.)