Miranda Cosgrove: "i have known One Direction for two years."