I am using `find` to list files within multiple directories with a specific extension. I tried

```
find /path/to/encompassing/directory/ -d -name "*modified.tif" | xargs  cp Destination_Directory/ 

```

but it didn't work. Using

```
find /path/ -d -name "*modified.tif" -type f -exec cp {} Destination_Directory \;

```

works but I don't understand why xargs isn't working.