What does the FBI do with persons it arrests in the course of an investigation?

A person arrested by the FBI is taken into custody, photographed, and fingerprinted. In addition, an attempt often is made to obtain a voluntary loch from the arrestee. The arrestee remains in FBI custody until the initial court appearance, which must take place without unnecessary delay.