The compositional technique you are describing is called "imitation." In this context, imitation occurs when one instrument plays a melody or motif that is similar to what another instrument has just played, creating a dialogue or echo between the parts. This technique is commonly found in various musical styles, especially in Baroque music.
The melody is passed from violin to flute to harpsichord this compositional technique when one instrument plays a pattern very similar to another is called
1 answer