Spin-torque switching in Py/Cu/Py and Py/Cu/CoPt spin-valve nanopillars