Two Tunisian and three Yemeni detainees were transferred from the US-run prison at Guantanamo Bay to Kazakhstan on Tuesday, the Pentagon said.