In order to keep track of the higher octave, let's change the color of the new piano roll notes. This isn't the sort of thing you'd normally do with a piano part, but more likely with an ensemble of strings or brass. Next, I am going to make a copy of the melody and have it play one octave higher, in addition to the melody already in place.
Let's begin with a piano melody, I recorded it in FLStudio with my midi keyboard.