Refactored copy modules command to new polling copy command