It means 'almost similarly'.
A few more examples
마치 ~ 같다
마치 ~ㄴ/는/은 것처럼 ~
마치 ~인 마냥
갑자기 추워져서 마치 겨울 같아요.
Because it suddenly got colder, it seems like it's winter.
이게 무슨 말인지 모르겠어요. 마치 암호 같아요.
I don't know what this means. It seems like a code.
마치 신이라도 되는 것처럼 말하네. You speak as if you're a god.
지금 내가 보고 있는 게 마치 예전에 봤던 것처럼 느껴져요.
It feels as if I've seen what I'm seeing now a while ago.
XX는 내 친군데 마치 친동생 같아. XX is my friend, s/he is like my younger brother/sister.
걔는 자기 일도 아닌데 마치 자기 일인 마냥 잘 도와줘.
S/he helps people deal with the matter as if it's his/her own matter.