Paste and replace notes in the midi editor

Just as in the piano roll in cakewalk sonar, how to paste midi notes copied elsewhere in the editor and replace existing midi notes at the current location.

Need to do this often in drum and bass programming.