the function takes a mapping from residues in an entity and a second and transfers bonds which are present in the source entity to the destination.