Update copy command (not yet completed). ref #338