For some reason, no errors are generated when using wild cards in the path of Copy-Item
(as @mklement0 states in the comments). Using the Filter
param instead should bypass this behavior.
Copy-Item "$UpdateSourceFolder\" -Filter * "$UpdateDestinationFolder" `
-Recurse -ErrorAction Stop