How to import photos/videos from iPhone 7 on Windows when moving fails with "A Device attached to the system is not functioning"?
On your iOS device, 

Go to Settings > Photos and scroll down, 

Find the “Transfer to Mac or PC” section. 

And select “Keep Originals”. 

It will resolve your current issue.