bcopy32: refactor the bcopy routine to be able to reuse the pm part