Copy content from image to volume if volume is empty

This pull request will copy the content of the path on image where the volume is to be attached to the volume if the volume is empty.

This should fix #1582