Welcome to the forum,
This may not be the fastest way but it will get the ball rolling:
Sub LoopFiles()
Dim fWB As Workbook, dWB As Workbook, dWS As Worksheet
Dim fPath As String, dPath As String, x As Long
Dim fl As String, ext As String
With Application
.ScreenUpdating = False
.Calculation = xlCalculationManual
fPath = "C:\Users\Example\Desktop\From\"
dPath = "C:\Users\Example\Desktop\To\"
ext = "*.xlsx"
x = 0
fl = Dir(fPath & ext)
Set dWB = Workbooks.Open(dPath & "B.xlsx")
Set dWS = dWB.Sheets("Sheet1")
Do While fl <> ""
x = x + 1
Set fWB = Workbooks.Open(fPath & fl)
Range("A1:A2").Copy
dWS.Cells(1, 1).PasteSpecial xlPasteValues
.CutCopyMode = False
dWB.SaveCopyAs dPath & "C-" & x & ".xlsx"
fWB.Close
fl = Dir
Loop
.ScreenUpdating = True
.Calculation = xlCalculationAutomatic
End With
dWB.Close False
End Sub
Hope this helps