For that you have to avoid using .Select
and start working with objects. You may want to see THIS
So your code can be written as
Sub Sample()
Dim ws1 As Worksheet, ws2 As Worksheet
'~~> Change as Applicable
Set ws1 = ThisWorkbook.Sheets("Sheet1")
Set ws2 = ThisWorkbook.Sheets("Sheet2")
ws1.Columns("A:A").Copy
ws2.Columns("B:B").PasteSpecial Paste:=xlPasteFormats, _
Operation:=xlNone, _
SkipBlanks:=False, _
Transpose:=False
Application.CutCopyMode = False
End Sub
EDIT
Further to the discussion in comments, if you want to use the Codenames, then use this
Sub Sample()
Dim ws1 As Worksheet, ws2 As Worksheet
'~~> Change as Applicable
Set ws1 = Sheet1
Set ws2 = Sheet2
ws1.Columns("A:A").Copy
ws2.Columns("B:B").PasteSpecial Paste:=xlPasteFormats, _
Operation:=xlNone, _
SkipBlanks:=False, _
Transpose:=False
Application.CutCopyMode = False
End Sub