Nothing prevents duplication. If the list of account numbers includes duplicated account numbers, the files will be copied twice. But that's harmless, you can only have one file named one thing in one folder, so the new copies simply overwrite the existing.