Stitch 2 mesh parts like in the UV stiching function
As long as the loops match, you can turn on snapping and auto merge in Edit Mode to do this:




Turn on snapping (Shift+Tab)
Set snapping mode to vertex (Shift+Ctrl+Tab)
Turn on auto merge


Then move the part of the mesh: