You need N-channel mosfet. Not P. When DS voltage on P type mosfet is just 2-3V it will conduct.
Your design need voltage follower, so you need to use N channel mosfet.

https://en.wikipedia.org/wiki/Buffer_amplifier
https://en.wikipedia.org/wiki/File:N...e_follower.svg