Yes, the same in working mechanism.
Both are self amplifying mRNAs which will get in cell plasma (not nucleus) to produce spike protein of Sars-Cov-2 virus.
In response, the body will produce antibodies to against the spike protein, therefore protect people from Covid-19 infection.