I like cake too.

Literal

I-[also-も] cake [subject-が] like [is-だ].

好き ('liked, fond of') is a な-adjective that takes its liked object with が (not を, even though English uses 'I like X'). This pattern is a common stumbling point for learners. ケーキ is an English loanword.