Optimal Estimation and Sampling Allocation in Survey Sampling Under a General Correlated Superpopulation Model