If you buy COD for the PS3, and want it transferred over, you can do one of 2 things:
Download the PS3 version on your PS4, but it stays the same PS3 graphics
OR
You can pay 40-60 bucks for the transfer in the PSN Store, which makes the Digital PS3 Copy a PS4 Copy as well.