In cell E2 add: =IF(ISBLANK(A2),"",$A$1)
For the first cells on row 2, in the rest of the data, the locked cell range in the last part of the IF formula would need to be changed to the appropriate value in cells A1 to D1. Flash Fill should be available if a Table, or drag down the formulas, from the bottom right corner.