format cp commands