Sub Macro1()
Dim sh As Worksheet
Set sh = Sheets("Sheet1")
If sh.Range("B3").Value <> "" Then
sh.Range(sh.Range("B2"), sh.Range("B2").End(xlDown)).Copy _
Destination:=Worksheets("Sheet2").Range("A1")
sh.Range(sh.Range("D2:I2"), sh.Range("D2:I2").End(xlDown)).Copy _
Destination:=Worksheets("Sheet2").Range("B1")
Else
sh.Range("B2").Copy Destination:=Worksheets("Sheet2").Range("A1")
sh.Range("D2:I2").Copy Destination:=Worksheets("Sheet2").Range("B1")
End If
End Sub
With Worksheets("Sheet1")
.Range("B2:B" & .Range("B" & .Rows.Count).End(xlUp).Row).Copy Worksheets("Sheet2").Range("B2")
End With