Correlation properties of anisotropic XY model with a sudden quench