Overtaking General-> 0 KM?

Hello, I asked you a question. I’ve seen engines on ebay before, for example, which are “overhauled” and then should have again 0 km. What is everything done there? So, that they have 0 km again? Think, that makes the engine repairer. What does it cost about?