Read PWM duty from a pin and write PWM to a pin

int PWM_Pin_IN = 3;

Is that pin 3 or pin A3 ?
Which pin is the PWM input signal connected to ?

A PWM signal has only 2 voltage levels so using analogRead() is probably not doing what you want