is the law of refraction same to that of law of reflection
No, the two laws are different as they describe two phenomena that are fundamentally quite different.