I think everyone's already said the right answer but I'll repeat
Shouldn't matter if it's a master or slave, but
don't put the drive you're reading from and the drive you're writing to on the same connector. Only one device on a connector can be operated at a time, so you'll risk buffer under-runs as it can't read new data whilst it's writing to the DVD/CD.