How are repetition and replication alike and different?

How are repetition and replication alike and different?