You have a Space and " (double quotes) missing between AN and & (I marked it in RED):
ws2.Range("A" & R2 & ":AN" & R2 + 1).Value = ws1.Range("A" & R1 - 1 & ":AN" & R1).Value
Cells(RowIndex, ColIndex), so in this example Cells(R1, 4) - whatever the value is for R1 variable, that's the Row...