Changes to the copy command to support polling