i want to assigned css inline style from one element to other element. example.
i want to copy style form btn1 and assign to btn 2
<button id="btn1" style="font-size: 10px;background-color: #4CAF50; padding: 10px 24px;">Button 1</button>
<button id="btn2" style="font-size: 10px;background-color: rgb(93, 16, 3); background:beige ; padding: 10px 24px;">Button 2</button>