void setup() {
  pinMode(25, INPUT_PULLDOWN);
  pinMode(2, OUTPUT);
}

void loop() {
  if(digitalRead(25) == true){
    digitalWrite(2, HIGH);
  }else{
    digitalWrite(2, LOW);
  }
}