Do a little search for Level Translator.

You will find some Transistor, CMOS, etc etc circuits for that.