Copy field value to another fields using button

Hello, Anyone knows how to copy the data from one field to another field using button,

Do you have any references to follow.

Thanks in advance.