It would be translated to the following:
"what he said" (彼が言ったこと)
"same as him" (彼と同じ)
However, when you put it into your sentence, The translation may not be natural.
( In most cases, It would be natural though)
So, If you ask me/someone to translate one sentence, I would be able to answer your question with confident.