York man arraigned on weapons and drugs charges