The bites that a 13-year-old boy sustained in the waters around the barrier island off Long Island's South Shore resulted from a shark attack, New York officials confirm.