Far as I know dot3 and 4 can be mixed but not 5.
Brake fluid absorbs moisture which causes corrosion so its a good idea to flush it good with fresh fluid.
I would do that then you know you have the same type fluid because you never know what a prior owner added or if its ever been flushed.