Superconducting correlations induced by charge ordering in cuprate superconductors and Fermi-arc formation