Copy attribute value to another attribute value

I try set up and automation action which sets the attribute value from one cover entity to anothers.
This


To this

This automation will copy the tilt position from cover.foo to cover.bar whenever the tilt position of cover.foo changes. You can adapt it to your entities who’s entity_ids I am too lazy to transcribe from your image.

trigger:
  - platform: state
    entity_id: cover.foo
    attribute: current_tilt_position
    not_to:
      - unknown
      - unavailable
action:
  - service: cover.set_cover_tilt_position
    target:
      - entity_id: cover.bar
    data:
      tilt_position: "{{ state_attr('cover.foo','current_tilt_position') }}"

Alternatively you could create a cover group to control both at once rather than relying on an automation to synchronise them.