If you don’t care about the order, you can use a Set or Dictionary to remove any duplicates, and then convert it back to an array.
Downloading an image from a URL involves sending a request to the server that hosts the image, receiving the response containing the binary data of the file, and then writing that data to a file.