Copy/paste bones position relative to master bone location (feet vs body)

I have a rig and I move it. because of IK the feet remain behind.

I just want to copy/paste the relative position of the feet to the body.
so basicly

  1. body is in place,feet is in place
  2. body is moved ,feet remain behind
  3. copy values thatthe body is moved by and apply to feet
    3alternate) paste the feet the same distance and position that it had compared to the body.

Copy/paste pose would normally be it but it pastes the info in world space,which is not what I need

I know I can throw in a master to the master bone and parent the feet to that and it will move with the body but then I have other problems with the feet not staying in place and do their IK duty.

Can this be done?