Bone copy location in some keyframes
In pose mode, assign a copy location constraint to the bone that should move, and set as target the other bone. Then you can Keyframe the "Influence" parameter to have the constraint working only in the desired keyframes.