replicate command