Ported cp over to commands file