This should work for you. You did not say where you wanted the copied column to go so I arbitrarily set it to sheet 1 range R1. This can be changed to meet your needs. Just so you know this macro will search the values in sheet 2 row 1. If any of those values match the value on sheet 1 range A1 then it will copy that entire column and put it in sheet 1 column R. Let me know if this works for you.
Option Explicit
Sub Macro1()
Dim c As Variant
For Each c In Sheets("Sheet2").Range("1:1")
If c.Value = Sheets("Sheet1").Range("A1").Value Then
c.EntireColumn.Copy Destination:=Sheets("Sheet1").Range("R1")
End If
Next c
End Sub
Bookmarks