The difference is the no. of charges present in Carbon, meaning Carbon has different charges therefore Roman numerals are used to clarify the exact number.This makes balancing equations easier.
Also their names are different.
CO4 - Carbon tetroxide
CO2 - Carbon dioxide