Teen accused of rape to move following detention violation