Long explanation:
The のごとき pattern is used to convey the concept of 'just like' or 'as if'. The comparison here is strong, indicating that the thing/person is very similar to or completely same as the thing/person compared to. It is a bit archaic and thus is more often found in writings than in conversation.