Yes, they look alike, there from the same company (PZL Bielsko / Allstar PZL Glider).
The cobra is the SZD-36 i think and the Foka 5 is the SZD-32. A notable difference is the tailsection where the Foka 5's fuselage extends past the rudder in a pointy shape. Beautiful isn't it
The SZD 24 is also very similar, most notably it doesn't have the T-tail section but a more conventional one.