How to copy protected CD using digital out?

I heard you can make exact copy of a protected CD connecting digital-out of a CD player to a sound card. Is that true? What sound cards support this? How exactly do I do it because if I record off the sound card, it’s basically converted analog sound, not digital data? Thanks.

  • bmok