Shut up warning about using insecure copy function