Are you looking for something like this:
bn1 = nn.BatchNorm2d(num_features=3)
bn_new = nn.BatchNorm2d(
    num_features=4,
    eps=bn1.eps,
    momentum=bn1.momentum,
    affine=bn1.affine,
    track_running_stats=bn1.track_running_stats)