Police: Student arrested for bringing BB gun to school