GDP measures final demand of goods and services. It doesn't double-count the intermediate value added.
Edit: I.e. how does "it" know if people just bought a ton of used cars, or if people were simply selling them back and forth to each other constantly?
(and if sales between private persons wouldn't register, imagine dealers being in between every transaction)