Well, since the full filename array is of length 256, so we just need copy 256 characters a most.