Copy only writable properties

This fixes warnings that :num-processed is not writable.