She really acted like a baby.

Literal

She [topic-は] really baby [like-のように] acted.

赤ん坊のようにふるまいました — のように marks the simile. ふるまう (振る舞う, 'to behave') in polite past form.