Pacing is a legal form of speed measurement. If the police car was pacing you, the officer can determine your speed by the police car's speedometer. I had that challenged once in traffic court and the driver lost. The judge confirmed it is a legal form of speed measurement.