File copy utility for nested directories