Match Quantize

From the Project (“arrange”) window, or from inside the Edit window, so long as nothing is selected inside there (it will always take into account the entire Part). So if you want to use, say, just the first two bars of the source Part, then Split the Part (you can always glue it back together again afterwards :wink: )