added copyall command and help flag