German prosecutors say that authorities have arrested five men on allegations they aided the Islamic State group in Germany, recruiting members and providing financial and logistical help.