Is there a way to copy MIDI tempo but not notes?

I’m working on an orchestral piece where the rhythm of the bass and cello, for example, are the same yet the notes are different. The song is not on a grid so quantizing to a grid isn’t the way to go. Is there a midi function where I can copy the midi note input tempo to another track without copying the pitches? Applying the rhythm of the notes from one track to another track with different pitches would save me a lot of time. Thank you.