Templated dewetting of a Co/Pt metal bilayer film on a topographic substrate was used to assemble arrays of Co-Pt alloy nanoparticles, with highly uniform particle size, shape and notably composition compared to nanoparticles formed on an untemplated substrate. Solid-state and liquid-state dewetting processes, using furnace annealing and laser irradiation respectively, were compared. Liquid state dewetting produced more uniform, conformal nanoparticles but they had a polycrystalline disordered fcc structure and relatively low magnetic coercivity. In contrast, solid state dewetting enabled formation of magnetically hard, ordered L1(0) Co-Pt single-crystal particles with coercivity >12 kOe. Furnace annealing converted the nanoparticles formed by liquid state dewetting into the L1(0) phase.