The act of recording or transcribing an interview with a witness in preparation for trial is known as what?

preliminary hearing
arraignment
deposition
discovery