It does, but it's still a different creative expression. You could legally recreate Microsoft Word pixel-for-pixel and just change the name without copyright issues because the code creating the exact same shapes would have differences and, most importantly, not be a literal copy but a recreation.