The Pak Fa might look similar to those, but in terms of aerodinamics, surfaces controls is completely different. It has thrust vectoring.
Interesting you mention the YF23. It was actually a better 5th generation fighter than the YF22. The reason the US Government did not select it was due...