If you use a PP up on a move and then replace that move with another, will the new move get the PP boost?
Nope. PP ups only affect the move they are used on. If forgotten any boost are lost
Source: Expierience