Two date fields should have the same value

Hi Community,

I seem to be struggling with a simple problem. My goal is to create a formula so that the first date field equals another field and the second date field is automatically populated with the other's date. The closing date should be the date for the first payment. 

This is what I have tried so far: 

equal($icc_closing_date)

date(equal($icc_closing_date,$termin_1_rate_c)) 

equal(date($icc_closing_date,date($termin_1_rate_c)))

It always gives me some kind of error messages and I'm not an expert in this field so I can't figure out what I have to change. 

Maybe it's not possible as a formula but it needs to be a workflow? 

Thanks in advance.